home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / AppMaker 2.0b3 / Demo AppMaker 1.5 / Demo AppMaker™ / Demo AppMaker™.rsrc / TmCT_501_EachWindow < prev    next >
Encoding:
Text File  |  1992-04-08  |  972 b   |  40 lines

  1. %case sourcefile%
  2.     %if not rsrcID = 200%
  3.         %if firstWindow%
  4.             %genfile zWindow z+windname+.c%
  5.             %genfile zWindow.h z+windname+.h%
  6.             %if not fileExists windname+.c%
  7.                 %genfile Window windname+.c%
  8.                 %genfile Window.h windname+.h%
  9.             %endif%
  10.         %else%
  11.             %genfile zSubWindow z+windname+.c%
  12.             %genfile zSubWindow.h z+windname+.h%
  13.             %if not fileExists windname+.c%
  14.                 %genfile SubWindow windname+.c%
  15.                 %genfile SubWindow.h windname+.h%
  16.             %endif%
  17.         %endif%
  18.     %endif%
  19. %case include%
  20.     %if not rsrcID = 200%
  21.         #include "%windname%.h"
  22.     %endif%
  23. %case classDecl%
  24.     %if not rsrcID = 200%
  25.         class C%windname%;
  26.     %endif%
  27. %case create%
  28.     %if not rsrcID = 200%
  29.         %if firstWindow%
  30.             mainWindow = new C%windname%;
  31.             itsWindow = mainWindow;
  32.             ((C%windname% *)mainWindow)->I%windname% (this, itsData);
  33.             itsMainPane = ((C%windname% *)mainWindow)->itsMainPane;
  34.         %else%
  35.             subWindow = new C%windname%;
  36.             ((C%windname% *)subWindow)->I%windname% (this, itsData);
  37.         %endif%
  38.  
  39.     %endif%
  40.